﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.ObjectModel;
using PSE.Deployment.Engine.Interfaces;

namespace PSE.Deployment.Engine
{
    public class StepCollection : KeyedCollection<string, IStep>
    {
        protected override string GetKeyForItem(IStep item)
        {
            return item.Id;
        }

        public void Concat(StepCollection steps)
        {
            foreach (IStep step in steps)
            {
                this.Add(step);
            }
        }
    }
}
